package net.sxjr.mbg.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 审核人不一定是具体的人员，可能是角色、用户等
 * </p>
 *
 * @author cuixc
 * @since 2020-12-10
 */
public class BdpWfNotifyPerson extends Model<BdpWfNotifyPerson> {

    private static final long serialVersionUID=1L;

    /**
     * k 
     */
    @TableId("NOTIFY_PERSON_ID")
    private String notifyPersonId;

    /**
     * 流程节点标识
     */
    @TableField("NODE_ID")
    private String nodeId;

    /**
     * 条件成立时才通知，缺省为成立
     */
    @TableField("NOTIFY_CONDITION")
    private String notifyCondition;

    /**
     * 0:用户;1:角色
     */
    @TableField("NOTIFY_KIND")
    private Integer notifyKind;

    /**
     * 角色/用户的ID值
     */
    @TableField("NOTIFY_VALUE")
    private String notifyValue;

    /**
     * 公司
     */
    @TableField("INNER_COMPANY_ID")
    private String innerCompanyId;

    /**
     * 创建人
     */
    @TableField("INNER_CREATOR_ID")
    private String innerCreatorId;

    /**
     * 创建时间
     */
    @TableField("INNER_CREATE_TIME")
    private LocalDateTime innerCreateTime;

    /**
     * 删除标志
     */
    @TableField("INNER_DELETE_FLAG")
    private Integer innerDeleteFlag;


    public String getNotifyPersonId() {
        return notifyPersonId;
    }

    public BdpWfNotifyPerson setNotifyPersonId(String notifyPersonId) {
        this.notifyPersonId = notifyPersonId;
        return this;
    }

    public String getNodeId() {
        return nodeId;
    }

    public BdpWfNotifyPerson setNodeId(String nodeId) {
        this.nodeId = nodeId;
        return this;
    }

    public String getNotifyCondition() {
        return notifyCondition;
    }

    public BdpWfNotifyPerson setNotifyCondition(String notifyCondition) {
        this.notifyCondition = notifyCondition;
        return this;
    }

    public Integer getNotifyKind() {
        return notifyKind;
    }

    public BdpWfNotifyPerson setNotifyKind(Integer notifyKind) {
        this.notifyKind = notifyKind;
        return this;
    }

    public String getNotifyValue() {
        return notifyValue;
    }

    public BdpWfNotifyPerson setNotifyValue(String notifyValue) {
        this.notifyValue = notifyValue;
        return this;
    }

    public String getInnerCompanyId() {
        return innerCompanyId;
    }

    public BdpWfNotifyPerson setInnerCompanyId(String innerCompanyId) {
        this.innerCompanyId = innerCompanyId;
        return this;
    }

    public String getInnerCreatorId() {
        return innerCreatorId;
    }

    public BdpWfNotifyPerson setInnerCreatorId(String innerCreatorId) {
        this.innerCreatorId = innerCreatorId;
        return this;
    }

    public LocalDateTime getInnerCreateTime() {
        return innerCreateTime;
    }

    public BdpWfNotifyPerson setInnerCreateTime(LocalDateTime innerCreateTime) {
        this.innerCreateTime = innerCreateTime;
        return this;
    }

    public Integer getInnerDeleteFlag() {
        return innerDeleteFlag;
    }

    public BdpWfNotifyPerson setInnerDeleteFlag(Integer innerDeleteFlag) {
        this.innerDeleteFlag = innerDeleteFlag;
        return this;
    }

    @Override
    protected Serializable pkVal() {
        return this.notifyPersonId;
    }

    @Override
    public String toString() {
        return "BdpWfNotifyPerson{" +
        "notifyPersonId=" + notifyPersonId +
        ", nodeId=" + nodeId +
        ", notifyCondition=" + notifyCondition +
        ", notifyKind=" + notifyKind +
        ", notifyValue=" + notifyValue +
        ", innerCompanyId=" + innerCompanyId +
        ", innerCreatorId=" + innerCreatorId +
        ", innerCreateTime=" + innerCreateTime +
        ", innerDeleteFlag=" + innerDeleteFlag +
        "}";
    }
}
